package com.example.elderlycare.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.elderlycare.dao.entity.Equipment;
import com.example.elderlycare.service.entity.EquipListResponseBody;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.Map;

public interface EquipService extends IService<Equipment> {
    /**
     * queryEquipService 根据参数查询设备信息
     *
     * @param params 查询参数
     * @return EquipListResponseBody
     */
    EquipListResponseBody queryEquipService(Map<String, Object> params);

    /**
     * exportEquipList 根据参数查询设备信息并导出
     *
     * @param params 查询参数
     */
    void exportEquipList(HttpServletResponse response, Map<String, Object> params) throws IOException;
}
